﻿@model BenzInfo.Hockey.Grenadiers.Models.Question

@{
    ViewBag.Title = BenzInfo.Hockey.Grenadiers.Resources.Dictionary.Edit;
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function () {
        $('#ContentEN').val("Content");
        $('#ContentFR').val("Contenu");
    });
</script>

@using (Html.BeginForm("Edit", "Survey", FormMethod.Post)) 
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@BenzInfo.Hockey.Grenadiers.Resources.Dictionary.EditQuestion</legend>

        @Html.HiddenFor(model => model.Id)
        @Html.HiddenFor(model => model.Key)
        @Html.HiddenFor(model => model.Picture)
        @Html.HiddenFor(model => model.ContentEN)
        @Html.HiddenFor(model => model.ContentFR)

        <div class="editor-label">
            @Html.LabelFor(model => model.TitleFR)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.TitleFR)
            @Html.ValidationMessageFor(model => model.TitleFR)
        </div>

         <div class="editor-label">
            @Html.LabelFor(model => model.TitleEN)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.TitleEN)
            @Html.ValidationMessageFor(model => model.TitleEN)
        </div>

         <div class="editor-label">
            @Html.LabelFor(model => model.Option1EN)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Option1EN)
            @Html.ValidationMessageFor(model => model.Option1EN)
        </div>
          <div class="editor-label">
            @Html.LabelFor(model => model.Option1FR)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Option1FR)
            @Html.ValidationMessageFor(model => model.Option1FR)
        </div>
         <div class="editor-label">
            @Html.LabelFor(model => model.Option2EN)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Option2EN)
            @Html.ValidationMessageFor(model => model.Option2EN)
        </div>
          <div class="editor-label">
            @Html.LabelFor(model => model.Option2FR)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Option2FR)
            @Html.ValidationMessageFor(model => model.Option2FR)
        </div>
           <div class="editor-label">
            @Html.LabelFor(model => model.Option3EN)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Option3EN)
            @Html.ValidationMessageFor(model => model.Option3EN)
        </div>
          <div class="editor-label">
            @Html.LabelFor(model => model.Option3FR)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Option3FR)
            @Html.ValidationMessageFor(model => model.Option3FR)
        </div>
           <div class="editor-label">
            @Html.LabelFor(model => model.Option4EN)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Option4EN)
            @Html.ValidationMessageFor(model => model.Option4EN)
        </div>
          <div class="editor-label">
            @Html.LabelFor(model => model.Option4FR)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Option4FR)
            @Html.ValidationMessageFor(model => model.Option4FR)
        </div>                                                 
    </fieldset>
}
